package typydanych;

public class ObszarCyfry {
	
	private int gora;
	private int dol;
	
	public int getGora() {
		return gora;
	}
	public void setGora(int gora) {
		this.gora = gora;
	}
	public int getDol() {
		return dol;
	}
	public void setDol(int dol) {
		this.dol = dol;
	}
	
	public int getWielkoscObszaru(){
		return dol - gora;
	}

	

}
